package mapper;

import DO.WorkFillOptionDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface WorkFillOptionMapper {
    // 保存测试信息
    void save(WorkFillOptionDO workFillOptionDO);

    // 获取填空题信息
    @Select("select * from work_fill_option where work_fill_id = #{workFillId} order by `option`")
    List<WorkFillOptionDO> getByWorkFillId(Integer workFillId);
}
